package com.cust.yx.model.product;

import com.cust.yx.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商品属性
 * </p>
 *
 * @author lei
 * @since 2024-04-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Attr对象", description="商品属性")
public class Attr extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "属性名")
    private String name;

    @ApiModelProperty(value = "属性录入方式：0->手工录入；1->从列表中选取")
    private Integer inputType;

    @ApiModelProperty(value = "可选值列表[用逗号分隔]")
    private String selectList;

    @ApiModelProperty(value = "属性分组id")
    private Long attrGroupId;
}
